Version

GetOccurrences(IEnumerable<DateRange>) Method

Gets the occurrences in the specified date ranges. The date-time values of the ranges are in UTC.
Syntax
'Declaration
 
Public Overloads Overridable Function GetOccurrences( _
   ByVal dateRanges As IEnumerable(Of DateRange) _
) As IEnumerable(Of DateRange)
public virtual IEnumerable<DateRange> GetOccurrences( 
   IEnumerable<DateRange> dateRanges
)

Parameters

dateRanges
Collection of date ranges with date-time values are in UTC.

Return Value

Returns the times of occurrences that occurr in the specified date ranges. Each DateRange instance specifies the start and the end time of an occurrence. Note that the date-time values are in UTC.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also